using System.Collections.Generic;
using Struct;
using UnityEditor;
using UnityEngine;
using UnityEngine.Serialization;

namespace SO {


    [CreateAssetMenu(fileName = "NewFile", menuName = "游戏配置/3_Buff/创建Buff", order = 0)]
    public class BuffItemConfigSO : ScriptableObject {


        [Header("名称")]
        public string buffName;

        [PreviewField(100)]
        [Header("buff图标")]
        public Sprite skillIcon;

        [Header("技能描述")]
        [TextArea(3, 10)]
        public string buffDesc;

        [EnumToggleButtons]
        public EnumBuffType buffType;
        [EnumToggleButtons]
        public EnumGoodOrBadType goodOrBadType;

        [Header("Buff触发对自身的效果")]
        public List<PropertiesStruct> selfProperties = new List<PropertiesStruct>();

        [Header("Buff触发对目标的效果")]
        public List<PropertiesStruct> targetProperties = new List<PropertiesStruct>();

    }

}